package com.xnyzc.lhy.didi.mapper.xiecheng;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xnyzc.lhy.didi.entity.param.xiecheng.request.CityInfoDTO;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.repository.query.Param;

public interface CityInfoMapper extends BaseMapper<CityInfoDTO> {

    @Select("SELECT COUNT(*) FROM xc_city_info WHERE city_id =#{cityId}")
    int getCountById(@Param("cityId") Long cityId);
}
